import '@web-utils/component/base.css'
import {
  EmptyView,
  FormButton,
  AwesomeButton,
  ConfirmButton,
  Confirmable,
  PageSkeleton,
  CustomScrollbar,
  ElementDialog,
  FlexColumn,
  FlexItem,
  FlexRow,
  FlexScroller,
  InputNumber,
  LoadingView,
  ErrorView,
  FyCascader,
  FyCheckbox,
  FyCurd,
  FyDate,
  FyDynamic,
  FyForm,
  FyInput,
  FyInputColor,
  FyInputIcon,
  FyInputMap,
  FyInputNumber,
  FyInputTable,
  FyInputTree,
  FyRadio,
  FyRate,
  FySelect,
  FySlider,
  FySwitch,
  FyTime,
  FyTitle,
  FyUpload,
  FyTree,
  FyEmpty,
  FyArray,
  VueTreeSelect,
  FyTabs,
  EasyPopup
} from '@web-utils/component'

export default {
  install(Vue) {
    Vue.component(VueTreeSelect.name, VueTreeSelect)
    Vue.component(EmptyView.name, EmptyView)
    Vue.component(FormButton.name, FormButton)
    Vue.component(AwesomeButton.name, AwesomeButton)
    Vue.component(Confirmable.name, Confirmable)
    Vue.component(ConfirmButton.name, ConfirmButton)
    Vue.component(PageSkeleton.name, PageSkeleton)
    Vue.component(CustomScrollbar.name, CustomScrollbar)
    Vue.component(ElementDialog.name, ElementDialog)
    Vue.component(FlexColumn.name, FlexColumn)
    Vue.component(FlexItem.name, FlexItem)
    Vue.component(FlexRow.name, FlexRow)
    Vue.component(FlexScroller.name, FlexScroller)
    Vue.component(InputNumber.name, InputNumber)
    Vue.component(LoadingView.name, LoadingView)
    Vue.component(ErrorView.name, ErrorView)
    Vue.component(FyCascader.name, FyCascader)
    Vue.component(FyCheckbox.name, FyCheckbox)
    Vue.component(FyCurd.name, FyCurd)
    Vue.component(FyDate.name, FyDate)
    Vue.component(FyDynamic.name, FyDynamic)
    Vue.component(FyForm.name, FyForm)
    Vue.component(FyInput.name, FyInput)
    Vue.component(FyInputColor.name, FyInputColor)
    Vue.component(FyInputIcon.name, FyInputIcon)
    Vue.component(FyInputMap.name, FyInputMap)
    Vue.component(FyInputNumber.name, FyInputNumber)
    Vue.component(FyInputTable.name, FyInputTable)
    Vue.component(FyInputTree.name, FyInputTree)
    Vue.component(FyRadio.name, FyRadio)
    Vue.component(FyRate.name, FyRate)
    Vue.component(FySelect.name, FySelect)
    Vue.component(FySlider.name, FySlider)
    Vue.component(FySwitch.name, FySwitch)
    Vue.component(FyTime.name, FyTime)
    Vue.component(FyTitle.name, FyTitle)
    Vue.component(FyUpload.name, FyUpload)
    Vue.component(FyTree.name, FyTree)
    Vue.component(FyEmpty.name, FyEmpty)
    Vue.component(FyArray.name, FyArray)
    Vue.component(FyTabs.name, FyTabs)
    Vue.component(EasyPopup.name, EasyPopup)
  }
}
